<%@page import="com.test.enity.Employee"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>修改员工信息</title>
</head>
<body>
  
   <%
     Employee employee=(Employee)request.getAttribute("employee");
   
   %>
   <form action="UpdateEmployeeServlet" method="post">
    
             员工姓名<input type="text" name="name" value="<%=employee.getName()%>">
             员工性别<input type="text" name="sex" value="<%=employee.getSex()%>"><br>
             员工年龄<input type="text" name="age" value="<%=employee.getAge()%>">
             所属部门<input type="text" name="dapartment" value="<%=employee.getDapartment()%>"><br>
             所在职务<input type="text" name="type" value="<%=employee.getType()%>">  
             工龄<input type="text" name="year" value="<%=employee.getYear()%>"><br>  
       <input type="text" name="id" value="<%=employee.getId()%>" style="display: none">     
        <input type="submit" value="提交"><br>
   </form>
</body>
</html>